package com.sikaryofficial.system.api.model.download;

import com.sikaryofficial.common.core.annotation.LocalDateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 下载任务对象 download_task_t
 *
 * @author qinjinyuan
 * @date 2024-01-12
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "下载地址出参", description = "下载地址出参")
public class DownloadUrlDTO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "离线文件地址")
    private String offlineUrl;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", example = "2024-01-13 00:00:00")
    @LocalDateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    @ApiModelProperty(value = "备注")
    private String remark;
}
